package org.villacoapa.censo.dao;

import java.util.HashSet;
import java.util.Set;

/**
 * AreaInteres entity. @author MyEclipse Persistence Tools
 */

public class AreaInteres implements java.io.Serializable {

	// Fields

	private Integer idAreaInteres;
	private String descripcion;
	private Set subareas = new HashSet(0);

	// Constructors

	/** default constructor */
	public AreaInteres() {
	}

	/** full constructor */
	public AreaInteres(String descripcion, Set subareas) {
		this.descripcion = descripcion;
		this.subareas = subareas;
	}

	// Property accessors

	public Integer getIdAreaInteres() {
		return this.idAreaInteres;
	}

	public void setIdAreaInteres(Integer idAreaInteres) {
		this.idAreaInteres = idAreaInteres;
	}

	public String getDescripcion() {
		return this.descripcion;
	}

	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

	public Set getSubareas() {
		return this.subareas;
	}

	public void setSubareas(Set subareas) {
		this.subareas = subareas;
	}

}